//package com.itheima.common.aspect;
//
//
//import lombok.extern.slf4j.Slf4j;
//import org.aspectj.lang.ProceedingJoinPoint;
//import org.aspectj.lang.annotation.Around;
//
//@Slf4j
////@Component
////@Aspect
//public class TimeAscpet {
//
//    @Around("execution(* com.itheima.controller.*.*(..))")
//    public Object recordTime(ProceedingJoinPoint joinPoint) throws Throwable{
//        long start = System.currentTimeMillis();
//
//        Object o = joinPoint.proceed();
//
//        long end = System.currentTimeMillis();
//
//        log.info("执行时间是===={} ms", end - start);
//
//        return o;
//    }
//
//
//}
